const AppDispatcher = require('../dispatcher/AppDispatcher')

const ButtonActions = {
  addNewItem (text) {
    AppDispatcher.dispatch({
      actionType: 'ADD_NEW_ITEM',
      text: text
    })
  }
}

module.exports = ButtonActions